<!doctype html>
<html>

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
  <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
  <title>用户协议</title>
  <link rel="stylesheet" type="text/css" href="../css/api.css" />
  <link rel="stylesheet" type="text/css" href="../css/protocol.css" />
</head>

<body>
  <div id="app">
    <div class="wrap flex-wrap flex-vertical">
      <header id="header" class="border-bottom">
        <div class="header-wrap">
          <div onclick="goback()" class="header-left">
            <i class="iconfont icon-pre"></i>
          </div>
          <div class="header-title">用户协议</div>
        </div>
      </header>
      <div id="main" class="flex-con"></div>
    </div>
  </div>
</body>

</html>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript">
  apiready = function () {
    $api.fixStatusBar($api.dom('#header'));
    api.setStatusBarStyle({
      style: 'light'
    });
    api.openFrame({
      name: 'protocol_frame',
      url: 'protocol_frame.html',
      bounces: true,
      rect: {
        x: 0,
        y: $api.dom('#header').offsetHeight,
        w: api.winWidth,
        h: $api.dom('#main').offsetHeight
      }
    });
  }

  function goback () {
    api.closeWin();
  }
</script>